package com.clown.smsweb.coursemanage;

import com.clown.smsbase.Controller.GenericController;
import com.clown.smsdao.coursemanage.domain.CourseKind;
import com.clown.smsservice.coursemanage.service.CourseKindManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/*
Author:GZQ
 */
@RestController//返回json格式的数据
@RequestMapping(value = "courseKind")//把web请求映射到S
public class CourseKindController extends GenericController<CourseKind,Long, CourseKindManager> {

    CourseKindManager courseKindManager;

    @Autowired//注入了业务层接口
    public void setCourseKindManager(CourseKindManager courseKindManager) {
        this.courseKindManager = courseKindManager;
        this.manager = this.courseKindManager;
    }
}
